.container {
  background-color: #f5f5f5;
  min-height: 100vh;
}

.openLengthBox {
  margin-top: 45px;
  background-color: #f5f5f5;
}

/* 标签页样式 */
.tabs {
  background-color: #fff;
}

.tabContent {
  background-color: #f5f5f5;
  min-height: calc(100vh - 45px);
}

/* 用户信息栏 */
.userInfoBar {
  background-color: #fff;
  padding: 16px;
  margin: 15px;
  margin-top: 15px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}

.userInfo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.userIcon {
  font-size: 20px;
  color: #1890ff;
}

.userName {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.userId {
  font-size: 14px;
  color: #666;
  margin-left: 8px;
}

.switchButton {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #1890ff;
  font-size: 14px;
  cursor: pointer;
}

.switchIcon {
  font-size: 16px;
}

/* 订单列表 */
.orderList {
  padding: 0 16px;
}

.orderCard {
  background-color: #fff;
  margin-bottom: 8px;
  border-radius: 8px;
  padding: 16px;
  position: relative;
  border-left: 4px solid #1890ff;
}

.orderHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.orderService {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  flex: 1;
  margin-right: 12px;
  line-height: 1.4;
}

.orderStatus {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.statusPending {
  background-color: #fff7e6;
  color: #fa8c16;
}

.statusApproved {
  background-color: #e6f7ff;
  color: #1890ff;
}

.statusRejected {
  background-color: #fff2f0;
  color: #ff4d4f;
}

/* 订单详情 */
.orderDetails {
  margin-bottom: 12px;
}

.orderDetailItem {
  display: flex;
  margin-bottom: 6px;
  font-size: 14px;
}

.detailLabel {
  color: #666;
  min-width: 80px;
}

.detailValue {
  color: #333;
  flex: 1;
}

/* 操作按钮 */
.orderAction {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.cancelButton {
  background-color: #f5f5f5;
  color: #666;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 14px;
  height: 32px;
}

.payButton {
  background-color: #1890ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 14px;
  height: 32px;
}

.payButton:hover {
  background-color: #40a9ff;
}

.cancelButton:hover {
  background-color: #e6f7ff;
  color: #1890ff;
  border-color: #1890ff;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .orderCard {
    padding: 12px;
  }
  
  .orderService {
    font-size: 14px;
  }
  
  .detailLabel {
    min-width: 70px;
    font-size: 13px;
  }
  
  .detailValue {
    font-size: 13px;
  }
}